#pragma once;
#include <iostream>
using namespace std;

class Car
{
private:
	string make;
	int year;
	int mileage;
	int gas_level;
	int tank_capacity;
	int mph;
public:
	int getyear();
	string getmake();
	int getmileage();
	int getgas_level();
	int gettank_capacity();
	int getmph();
	Car(string make, int year, int mileage, int gas_level, int tank_capacity, int mph);
	void Car::setyear(int carYear);
	void Car::setmake(string carMake);
	void Car::setmileage(int carMileage);
	void Car::setgas_level(int carGas_Level);
	void Car::settank_capacity(int carTank_Capacity);
	void Car::setmph(int carMph);
	void Car::setmove(int carMove);
	Car(void);
	~Car(void);
};	
int Car::getyear(){
	return year;
	}
string Car:: getmake(){
	return make;
}
int Car:: getmileage(){
	return mileage;
}
int Car:: getgas_level(){
	return gas_level;
}
int Car:: gettank_capacity(){
	return tank_capacity;
}
int Car:: getmph(){
	return mph;
}
void Car::setyear(int carYear){
	year=carYear;
}
void Car::setmake(string carMake){
	make=carMake;
}
void Car::setmileage(int carMileage){
	mileage=carMileage;
}
void Car:: setgas_level(int carGas_Level){
	gas_level=carGas_Level;
}
void Car:: settank_capacity(int carTank_Capacity){
	tank_capacity=carTank_Capacity;
}
void Car:: setmph(int carMph){
	mph=carMph;
}
Car::Car(string carMake,int carYear, int carMileage, int carGas_Level, int carTank_Capacity, int carMph){
make=carMake;
year=carYear;
mileage=carMileage;
gas_level=carGas_Level;
tank_capacity=carTank_Capacity;
mph=carMph;
}
void Car::setmove(int miles_moved){
	mileage=mileage+miles_moved;
	gas_level=gas_level-(miles_moved*mph);
}